<template>
  <div class="screen-cell">
    <h3>{{title}}</h3>
    <slot></slot>
  </div>
</template>

<script>
export default {
  // 全局感知
  name: "",

  // 模板依赖
  components: {},
  filters: {},

  // 接口
  props: {
    title: String
  },

  // 本地状态
  data() {
    return {
      num: 1
    };
  },
  computed: {},
  // 事件
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  // 非响应式的属性
  methods: {}
};
</script>

<style lang="scss" scoped>
.screen-cell {
  margin-top: 1.5rem;
  position: relative;
  width: 100%;
  background-image: url(../../assets/screen/bg_left.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  h3 {
    position: absolute;
    top: -0.5rem;
    width: 45%;
    font-size: 2.3rem;
    text-align: center;
    color: #ccdbff;
  }
}
</style>
